home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 37 / Amiga Format CD37 (1999-02-16)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-03].iso / -screenplay- / shareware / invasionforce / source / includes / map_editor_protos.h < prev    next >
C/C++ Source or Header  |  1999-01-09  |  1KB  |  85 lines

  1. /* Prototypes for functions defined in
  2. map_editor.c
  3.  */
  4.  
  5. extern struct Menu * editor_menu_strip;
  6.  
  7. extern BOOL MEdit;
  8.  
  9. extern BOOL INFO;
  10.  
  11. extern BOOL terminated;
  12.  
  13. extern BOOL mapgen;
  14.  
  15. extern BOOL mycity;
  16.  
  17. extern int brush;
  18.  
  19. extern int tot;
  20.  
  21. extern int totP;
  22.  
  23. extern int figctr[16];
  24.  
  25. extern int infoctr[16];
  26.  
  27. extern int map_safe;
  28.  
  29. extern char map_filepath[108];
  30.  
  31. extern char map_filename[108];
  32.  
  33. void save_map(char * );
  34.  
  35. BOOL load_map(char * );
  36.  
  37. void ME_load_map(char * );
  38.  
  39. void rt_loadsave_map(int );
  40.  
  41. void try_map_resize(int , int );
  42.  
  43. void map_size_request(void);
  44.  
  45. extern int new_brush;
  46.  
  47. extern int terrain_index[17];
  48.  
  49. void new_terrain(int , int );
  50.  
  51. void highlight_terrain(int , int );
  52.  
  53. void do_terrain_window(void);
  54.  
  55. void info_update_gadget(struct Gadget * );
  56.  
  57. void do_info_window(void);
  58.  
  59. void handleGadgetEvent(struct Window * , struct Gadget * , UWORD , WORD * , struct Gadget ** );
  60.  
  61. struct Gadget * createAllGadgets(struct Gadget ** , void * , WORD , struct Gadget ** );
  62.  
  63. void process_window_events(struct Window * , WORD * , struct Gadget ** );
  64.  
  65. void Random_Window(void);
  66.  
  67. void do_presets(void);
  68.  
  69. void do_city(void);
  70.  
  71. void menu_select_terrain(void);
  72.  
  73. void build_editor_menu(void);
  74.  
  75. BOOL user_plopcity(int , int );
  76.  
  77. void user_plot(int , int , UWORD );
  78.  
  79. void initialize_editor(void);
  80.  
  81. void editor_menu(void);
  82.  
  83. void map_editor(void);
  84.  
  85.